#ifndef DATASUM_H
#define DATASUM_H

#include <QWidget>
#include <QMessageBox>

#include <QSqlDatabase>
#include <QSqlQuery>
#include <QSqlError>

#include <QDebug>

#include <QFileDialog>
#include <QAxObject>
#include <QDateTime>

namespace Ui {
class datasum;
}

class datasum : public QWidget
{
    Q_OBJECT

public:
    explicit datasum(QWidget *parent = nullptr);
    ~datasum();
public:
    void ConnectDatabase();
public:
    void QueryDataSumFunc(QSqlQuery sql);

private slots:
    void on_pushButtonGooodsSum_clicked();

    void on_pushButtonWarehousSum_clicked();

    void on_pushButtonDeliverySum_clicked();

    void on_pushButtonImportData_clicked();

private:
    Ui::datasum *ui;
};

#endif // DATASUM_H
